<template>
  <div>
    <div class="a">
      这一年 我们说过最晚的一句话
      <br />
      在凌晨
      <span class="value">
        {{ hour }}
      </span>
      点
    </div>
    <div class="b">
      <span style="font-size: 3.6vw"> {{ user }}: </span>
      {{ content }}
    </div>
    <div class="c">...</div>
    <div class="d">
      {{ time }}
    </div>
    <div class="e" style="padding-top: 5vh; font-size: 5vw">那天在做什么还能记起来吗</div>
    <div class="f" style="padding-top: 7vh; font-size: 5vw"> 
        其实就是那次我买了硬座的火车票去南京找你，我在火车的餐车上睡了一宿的那次hhhhhhh
    </div>

  </div>
</template>

<script>
import { latestMsg } from "@/data.json";
export default {
  data() {
    return {
      ...latestMsg,
    };
  },
};
</script>

<style scoped>
.a {
  font-size: 5vw;
  padding-top: 15vh;
  animation-name: slide-top;
  animation-duration: 1s;
  animation-delay: 0.5s;
  animation-fill-mode: backwards;
}
.b {
  padding-top: 5vh;
  white-space: normal;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 2;
  color: ebf45f;
  animation-name: slide-top;
  animation-duration: 1s;
  animation-delay: 1s;
  animation-fill-mode: backwards;
}
.c {
  animation-name: slide-top;
  animation-duration: 1s;
  animation-delay: 1.5s;
  animation-fill-mode: backwards;
}
.d {
  text-align: right;
  padding-top: 3vh;
  font-weight: bolder;
  animation-name: slide-top;
  animation-duration: 1s;
  animation-delay: 2s;
  animation-fill-mode: backwards;
}
.e{
  animation-name: slide-top;
  animation-duration: 1s;
  animation-delay: 2.5s;
  animation-fill-mode: backwards;
}
.f{
  animation-name: slide-top;
  animation-duration: 1s;
  animation-delay: 3s;
  animation-fill-mode: backwards;
}
</style>